<?php
/**
 * Description of User
 *
 * @author Shang
 */
class zShang_Model_User extends Zend_Db_Table_Row_Abstract {
    // Update
    public function updateUser($user) {
        if (!empty($user['username'])) {
            $this->username = $user['username'];
        }        
        $this->save();
    }
}
